import React from 'react';
import PropTypes from 'prop-types';
import {
    Form,
    Button
} from 'antd'

import '../../css/tools.css';

// 组件本身
const Tools = (props) => {
    const {onShowCreate} = props;
    return (
        <div className="table-tools">
            <Button type="primary" onClick={onShowCreate}>新建</Button>
        </div>
    )
}

// 组件属性验证
Tools.propTypes = {}

export default Tools;
// export default Form.create()(Tools);